﻿<phone:PhoneApplicationPage
    x:Class="Sinergija13.WP7App.Views.FloormapView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
    xmlns:b="clr-namespace:Sinergija13.WP7App.Infrastructure.Behaviours"
    xmlns:prismInteractivity="clr-namespace:Microsoft.Practices.Prism.Interactivity;assembly=Microsoft.Practices.Prism.Interactivity"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" 
    xmlns:prismInteractionRequest="clr-namespace:Microsoft.Practices.Prism.Interactivity.InteractionRequest;assembly=Microsoft.Practices.Prism.Interactivity"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False"
    
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="White"
    
    Style="{StaticResource TransitionPageStyle}"
    
    DataContext="{Binding Source={StaticResource ViewModelLocator}, Path=FloormapViewModel}"
    
    toolkit:TiltEffect.IsTiltEnabled="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot">
        <Grid.Background>
            <ImageBrush ImageSource="/Sinergija13.WP7App;component/Resources/Images/Background3.jpg"/>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel Grid.Row="0" Margin="12,17,0,28">
            <TextBlock Text="Sinergija 13 - sale" Style="{StaticResource PhoneTextNormalStyle}" Foreground="White"/>
            <TextBlock Text="floormap" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" Foreground="White"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <StackPanel Orientation="Vertical">
                <Grid Margin="0,0,10,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Grid Grid.Column="0" >
                        <Grid.RowDefinitions>
                            <RowDefinition Height="2*"/>
                            <RowDefinition Height="1*"/>
                        </Grid.RowDefinitions>
                        <Grid Grid.Row="1" Background="{Binding Room6Color}" Width="140" Height="88" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <TextBlock Grid.Row="0" Text="Budva" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                            <TextBlock Grid.Row="1" Text="6" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                        </Grid>
                        <Grid Background="#aacccccc" Margin="0,0,0,10">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="*"/>
                                <RowDefinition Height="2*"/>
                                <RowDefinition Height="*"/>
                            </Grid.RowDefinitions>
                            <Grid Grid.Row="0" Background="{Binding Room7Color}" Width="140" Height="88" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <TextBlock Grid.Row="0" Text="Ellington's" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                                <TextBlock Grid.Row="1" Text="7" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                            </Grid>
                            <TextBlock Grid.Row="1" Foreground="Black" Text="Level -1" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="30"/>
                            <Grid Grid.Row="2" Background="#aa7a7a7a" Width="140" Height="88" HorizontalAlignment="Center" Margin="0,0,0,-4">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="*"/>
                                </Grid.RowDefinitions>
                                <TextBlock Grid.Row="0" Text="Stairs" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="25" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,10,0,0"/>
                                <Grid Grid.Row="1">
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="*"/>
                                        <RowDefinition Height="*"/>
                                        <RowDefinition Height="*"/>
                                        <RowDefinition Height="*"/>
                                        <RowDefinition Height="*"/>
                                    </Grid.RowDefinitions>
                                    <Rectangle Grid.Row="1" Fill="#AA4B4949" HorizontalAlignment="Center" Width="95"/>
                                    <Rectangle Grid.Row="2" Fill="#AA5F5E5E" HorizontalAlignment="Center" Width="110"/>
                                    <Rectangle Grid.Row="3" Fill="#AA747373" HorizontalAlignment="Center" Width="125"/>
                                    <Rectangle Grid.Row="4" Fill="#AA808080" HorizontalAlignment="Center" Width="140"/>
                                </Grid>
                            </Grid>
                        </Grid>
                    </Grid>
                    <!--ljubicasta #aa6633ff-->
                    <!--narandzasta #aaff8c00--> <!--zelena #aa00b294-->
                    <StackPanel Grid.Column="1" Orientation="Vertical">
                        <Grid Background="#aa6633ff" Width="140" Height="90" HorizontalAlignment="Right" Margin="0,0,0,10">
                            <TextBlock Text="Registracija" FontSize="20" VerticalAlignment="Center" HorizontalAlignment="Center" />
                        </Grid>
                        <Grid Background="{Binding Room1Color}" Width="140" Height="88" HorizontalAlignment="Right" Margin="0,0,0,10">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <TextBlock Grid.Row="0" Text="Kristal A" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                            <TextBlock Grid.Row="1" Text="1" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                        </Grid>
                        <Grid Background="{Binding Room2Color}" Width="140" Height="88" HorizontalAlignment="Right" Margin="0,0,0,10">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <TextBlock Grid.Row="0" Text="Kristal B" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                            <TextBlock Grid.Row="1" Text="2" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                        </Grid>
                        <Grid Background="{Binding Room3Color}" Width="140" Height="88" HorizontalAlignment="Right" Margin="0,0,0,10">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <TextBlock Grid.Row="0" Text="Kristal C" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                            <TextBlock Grid.Row="1" Text="3" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                        </Grid>
                        <Grid Background="{Binding Room4Color}" Width="140" Height="88" HorizontalAlignment="Right" Margin="0,0,0,10">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <TextBlock Grid.Row="0" Text="Kopaonik" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                            <TextBlock Grid.Row="1" Text="4" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                        </Grid>
                        <Grid Background="{Binding Room5Color}" Width="140" Height="88" HorizontalAlignment="Right" Margin="0,0,0,10">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <TextBlock Grid.Row="0" Text="Beograd" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                            <TextBlock Grid.Row="1" Text="5" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                        </Grid>
                    </StackPanel>
                </Grid>
                <TextBlock Text="Level 0" HorizontalAlignment="Center" FontSize="30"/>
            </StackPanel>
        </Grid>
    </Grid>

</phone:PhoneApplicationPage>